<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
%>
<ul id="adminmenu">
<!-- 
	<logic:greaterThan value="0" name="sessionData" property="utente.profilo.id_profilo">
		<li><a href='<%=basePath%>/jsp/form/ins_post.jsp' title='inserisci post'>inserisci post</a></li>
	</logic:greaterThan>
	<logic:greaterThan value="0" name="sessionData" property="utente.profilo.id_profilo">
		<li><a href='<%=basePath%>/jsp/form/search_post.jsp' title='modifica post'>modifica post</a></li>
	</logic:greaterThan>
	<logic:greaterThan value="1" name="sessionData" property="utente.profilo.id_profilo">
		<li><a href='<%=basePath%>/jsp/form/search_post.jsp?' title='elimina post'>elimina post</a></li>
	</logic:greaterThan>
	<logic:greaterThan value="2" name="sessionData" property="utente.profilo.id_profilo">
		<li><a href='<%=basePath%>/statistiche.do' title='statistiche'>statistiche</a></li>
	</logic:greaterThan>
	<li><a href='<%=basePath%>/esci.do' title='esci'>esci</a></li>
 -->
 	<li><a href='<%=basePath%>/post.do' title='gestione post'>gestione post</a></li>
 		<logic:greaterThan value="2" name="sessionData" property="utente.profilo.id_profilo">
		<li><a href='<%=basePath%>/statistiche.do' title='statistiche'>statistiche</a></li>
	</logic:greaterThan>
	<li><a href='<%=basePath%>/esci.do' title='esci'>esci</a></li>
 	
</ul>